package com.letv.common;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

import org.apache.commons.lang.StringUtils;

/**
 * 映射关系类
 * 
 */
public class Mappings {

	public static final Map<String, String> CATEGORY_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> SUBCATEGORY_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> NEW_SUBCATEGORY_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> VIDEOTYPE_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> NEW_VIDEOTYPE_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> AREA_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> NEW_AREA_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> CID_MAPIING = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> LESOTOLETV_MAPIING = new ConcurrentHashMap<String, String>();  //从媒资映射到作品库(Category)
    public static final Map<String, Map<String, String>> DICTIONARY_MAP = new ConcurrentHashMap<String, Map<String, String>>();
	public static final Map<String, String> STAR_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> STAR_PIC_MAP = new ConcurrentHashMap<String, String>();
	public static final Map<String, String> RALBUM_MAP = new ConcurrentHashMap<String, String>();

	/**
	 *  Map<String, String>, key   : leso category id
	 *                       value : vrs category id
	 */
	public static Map<String, String> LESO_ID_MAP = new ConcurrentHashMap<String, String>();

	/**
	 * Map<String, String>, key   : leso category id
	 *                      value : leso category name
	 */
	public static Map<String, String> CATEGORY_LESO = new ConcurrentHashMap<String, String>();

    public static final Map<String, String> DISPLAY_AREA_MAP = new ConcurrentHashMap<String, String>();
	// 索引库
	public static final List<String> INDEX_LIST = new ArrayList<String>();
	public static final List<String> TABLE_LIST = new ArrayList<String>();
	public static final List<String> WEBSITE_LIST = new ArrayList<String>();
	public static final Set<String> DISPLAY_SET = new HashSet<String>();// 所有全网中展示的频道

	// 表名
	public static final String HBASE_PTVVIDEO = "ptvVideo";
	// public static final String PTVALBUM = "ptvAlbum";

	public static final String HBASE_VRSALBUM = "vrsAlbum";
	public static final String HBASE_VRSVIDEO = "vrsVideo";
	public static final String HBASE_VRSSTAR = "vrsStar";

	public static final String HBASE_IPTVVIDEO = "iptvVideo";
	public static final String HBASE_IPTVSTAR = "iptvStar";
	public static final String HBASE_IPTVALBUM = "iptvAlbum";
	public static final String HBASE_ITVALBUM = "itvAlbum";
	public static final String HBASE_ITVVIDEO = "itvVideo";

	public static final String HBASE_LESOALBUM = "lesoAlbum";
	public static final String HBASE_LIVEALBUM = "sportsLive";

	static {
		TABLE_LIST.add(HBASE_PTVVIDEO);
		TABLE_LIST.add(HBASE_VRSALBUM);
		TABLE_LIST.add(HBASE_VRSVIDEO);
		TABLE_LIST.add(HBASE_VRSSTAR);
		TABLE_LIST.add(HBASE_IPTVVIDEO);
		TABLE_LIST.add(HBASE_IPTVSTAR);
		TABLE_LIST.add(HBASE_IPTVALBUM);
		TABLE_LIST.add(HBASE_LESOALBUM);

		INDEX_LIST.add(Constants.IPTV_ALBUM);
		INDEX_LIST.add(Constants.IPTV_VIDEO);
		INDEX_LIST.add(Constants.IPTV_STAR);
		INDEX_LIST.add(Constants.NORMAL_STAR);
		INDEX_LIST.add(Constants.NORMAL_VIDEO);
		INDEX_LIST.add(Constants.NORMAL_ALBUM);
		INDEX_LIST.add(Constants.LESO_ALBUM);
		INDEX_LIST.add(Constants.LIVE_ALBUM);
		INDEX_LIST.add(Constants.ITV_ALBUM);
		INDEX_LIST.add(Constants.ITV_VIDEO);

		DISPLAY_SET.add(Constants.MOVIE+"");//电影
		DISPLAY_SET.add(Constants.TV+"");
		DISPLAY_SET.add(Constants.CARTOON+"");
		DISPLAY_SET.add(Constants.VARIETY+"");// 综艺
		DISPLAY_SET.add(Constants.AMUSE+"");// 娱乐
		DISPLAY_SET.add(Constants.MUSIC+"");
		DISPLAY_SET.add(Constants.SPORTS+"");
		DISPLAY_SET.add(Constants.FASHION+"");
		DISPLAY_SET.add(Constants.LETVORIGINAL+"");// 乐视制造
		DISPLAY_SET.add(Constants.FINANCE+""); //财经
		DISPLAY_SET.add(Constants.TRAVEL+""); //旅游频道
		//DISPLAY_SET.add(Constants.OPENCOURSE+""); //公开课
		DISPLAY_SET.add(Constants.CAR+""); //汽车
		DISPLAY_SET.add(Constants.DOCUMENTARY+""); //记录片

		CATEGORY_MAP.put(String.valueOf(Constants.MOVIE), "电影");
		CATEGORY_MAP.put(String.valueOf(Constants.TV), "电视剧");
		CATEGORY_MAP.put(String.valueOf(Constants.AMUSE), "娱乐");
		CATEGORY_MAP.put(String.valueOf(Constants.SPORTS), "体育");
		CATEGORY_MAP.put(String.valueOf(Constants.CARTOON), "动漫");
		CATEGORY_MAP.put(String.valueOf(Constants.INFORMATION), "资讯");
		CATEGORY_MAP.put(String.valueOf(Constants.ORIGINAL), "原创");
		CATEGORY_MAP.put(String.valueOf(Constants.OTHERS), "其他");
		CATEGORY_MAP.put(String.valueOf(Constants.MUSIC), "音乐");
		CATEGORY_MAP.put(String.valueOf(Constants.FUN), "搞笑");
		CATEGORY_MAP.put(String.valueOf(Constants.VARIETY), "综艺");
		CATEGORY_MAP.put(String.valueOf(Constants.EDU), "科教");
		CATEGORY_MAP.put(String.valueOf(Constants.LIFE), "生活");
		CATEGORY_MAP.put(String.valueOf(Constants.CAR), "汽车");
		CATEGORY_MAP.put(String.valueOf(Constants.TVSHOW), "电视节目");
		CATEGORY_MAP.put(String.valueOf(Constants.DOCUMENTARY), "纪录片");
		CATEGORY_MAP.put(String.valueOf(Constants.OPENCOURSE), "公开课");
		CATEGORY_MAP.put(String.valueOf(Constants.LETVORIGINAL), "乐视制造");
		CATEGORY_MAP.put(String.valueOf(Constants.FASHION), "风尚");
		CATEGORY_MAP.put(String.valueOf(Constants.FINANCE), "财经");
		CATEGORY_MAP.put(String.valueOf(Constants.TRAVEL), "旅游频道");
		CATEGORY_MAP.put(String.valueOf(Constants.ISSUE), "热点");
		CATEGORY_MAP.put(String.valueOf(Constants.PARENT), "亲子");
		CATEGORY_MAP.put(String.valueOf(Constants.LETVPRODUCE), "乐视出品");

		SUBCATEGORY_MAP.put("1", "网站分类");
		SUBCATEGORY_MAP.put("2", "默认分类");
		SUBCATEGORY_MAP.put("3", "VIP分");
		SUBCATEGORY_MAP.put("4", "电影");
		SUBCATEGORY_MAP.put("5", "电视剧");
		SUBCATEGORY_MAP.put("6", "动漫");
		SUBCATEGORY_MAP.put("7", "其他");
		SUBCATEGORY_MAP.put("8", "剧情");
		SUBCATEGORY_MAP.put("9", "喜剧");
		SUBCATEGORY_MAP.put("10", "动作");
		SUBCATEGORY_MAP.put("11", "爱情");
		SUBCATEGORY_MAP.put("12", "恐怖");
		SUBCATEGORY_MAP.put("13", "动画");
		SUBCATEGORY_MAP.put("14", "战争");
		SUBCATEGORY_MAP.put("15", "惊悚");
		SUBCATEGORY_MAP.put("16", "悬疑");
		SUBCATEGORY_MAP.put("17", "奇幻");
		SUBCATEGORY_MAP.put("18", "犯罪");
		SUBCATEGORY_MAP.put("19", "冒险");
		SUBCATEGORY_MAP.put("20", "科幻");
		SUBCATEGORY_MAP.put("21", "警匪");
		SUBCATEGORY_MAP.put("22", "武侠");
		SUBCATEGORY_MAP.put("23", "灾难");
		SUBCATEGORY_MAP.put("24", "伦理");
		SUBCATEGORY_MAP.put("25", "歌舞");
		SUBCATEGORY_MAP.put("26", "家庭");
		SUBCATEGORY_MAP.put("27", "纪录");
		SUBCATEGORY_MAP.put("28", "剧情");
		SUBCATEGORY_MAP.put("29", "伦理");
		SUBCATEGORY_MAP.put("30", "喜剧");
		SUBCATEGORY_MAP.put("31", "军旅");
		SUBCATEGORY_MAP.put("32", "奇幻");
		SUBCATEGORY_MAP.put("33", "动作");
		SUBCATEGORY_MAP.put("34", "战争");
		SUBCATEGORY_MAP.put("35", "武侠");
		SUBCATEGORY_MAP.put("36", "犯罪");
		SUBCATEGORY_MAP.put("37", "悬疑");
		SUBCATEGORY_MAP.put("38", "偶像");
		SUBCATEGORY_MAP.put("39", "都市");
		SUBCATEGORY_MAP.put("40", "历史");
		SUBCATEGORY_MAP.put("41", "灾难");
		SUBCATEGORY_MAP.put("42", "古装");
		SUBCATEGORY_MAP.put("43", "科幻");
		SUBCATEGORY_MAP.put("44", "情景");
		SUBCATEGORY_MAP.put("45", "生活");
		SUBCATEGORY_MAP.put("46", "情感");
		SUBCATEGORY_MAP.put("47", "家庭");
		SUBCATEGORY_MAP.put("48", "谍战");
		SUBCATEGORY_MAP.put("49", "刑侦");
		SUBCATEGORY_MAP.put("50", "热血");
		SUBCATEGORY_MAP.put("51", "机战");
		SUBCATEGORY_MAP.put("52", "运动");
		SUBCATEGORY_MAP.put("53", "美少女");
		SUBCATEGORY_MAP.put("54", "励志");
		SUBCATEGORY_MAP.put("55", "怪物");
		SUBCATEGORY_MAP.put("56", "女性向");
		SUBCATEGORY_MAP.put("57", "搞笑");
		SUBCATEGORY_MAP.put("58", "真人");
		SUBCATEGORY_MAP.put("59", "神魔");
		SUBCATEGORY_MAP.put("60", "男性向");
		SUBCATEGORY_MAP.put("61", "悬疑推理");
		SUBCATEGORY_MAP.put("62", "LOLI");
		SUBCATEGORY_MAP.put("63", "恋爱");
		SUBCATEGORY_MAP.put("64", "育儿");
		SUBCATEGORY_MAP.put("65", "脱口秀");
		SUBCATEGORY_MAP.put("66", "音乐");
		SUBCATEGORY_MAP.put("67", "搞笑");
		SUBCATEGORY_MAP.put("68", "时尚");
		SUBCATEGORY_MAP.put("69", "美食");
		SUBCATEGORY_MAP.put("70", "游戏");
		SUBCATEGORY_MAP.put("71", "舞蹈");
		SUBCATEGORY_MAP.put("72", "选秀");
		SUBCATEGORY_MAP.put("73", "旅游");
		SUBCATEGORY_MAP.put("74", "益智");
		SUBCATEGORY_MAP.put("75", "真人秀");
		SUBCATEGORY_MAP.put("76", "其他");
		SUBCATEGORY_MAP.put("77", "电视节目");
		SUBCATEGORY_MAP.put("78", "综艺");
		SUBCATEGORY_MAP.put("79", "情感");
		SUBCATEGORY_MAP.put("80", "生活");
		SUBCATEGORY_MAP.put("81", "选秀");
		SUBCATEGORY_MAP.put("82", "播报");
		SUBCATEGORY_MAP.put("83", "访谈");
		SUBCATEGORY_MAP.put("84", "时尚");
		SUBCATEGORY_MAP.put("85", "每日文娱播报");
		SUBCATEGORY_MAP.put("86", "娱乐");
		SUBCATEGORY_MAP.put("87", "其他");
		SUBCATEGORY_MAP.put("88", "校园");
		SUBCATEGORY_MAP.put("89", "成人");
		SUBCATEGORY_MAP.put("90", "国产");
		SUBCATEGORY_MAP.put("91", "3D");
		SUBCATEGORY_MAP.put("92", "公开课");
		SUBCATEGORY_MAP.put("93", "历史");
		SUBCATEGORY_MAP.put("94", "文学");
		SUBCATEGORY_MAP.put("95", "经济学");
		SUBCATEGORY_MAP.put("96", "物理");
		SUBCATEGORY_MAP.put("97", "生物学");
		SUBCATEGORY_MAP.put("98", "社会学");
		SUBCATEGORY_MAP.put("99", "艺术类");
		SUBCATEGORY_MAP.put("100", "建筑学");
		SUBCATEGORY_MAP.put("101", "医学");
		SUBCATEGORY_MAP.put("102", "天文学");
		SUBCATEGORY_MAP.put("103", "化学");
		SUBCATEGORY_MAP.put("104", "政治学");
		SUBCATEGORY_MAP.put("105", "心理学");
		SUBCATEGORY_MAP.put("106", "哲学");
		SUBCATEGORY_MAP.put("107", "计算机");
		SUBCATEGORY_MAP.put("108", "伦理");
		SUBCATEGORY_MAP.put("109", "法学");
		SUBCATEGORY_MAP.put("110", "演讲");
		SUBCATEGORY_MAP.put("111", "纪录片");
		SUBCATEGORY_MAP.put("112", "自然");
		SUBCATEGORY_MAP.put("113", "动物");
		SUBCATEGORY_MAP.put("114", "科学");
		SUBCATEGORY_MAP.put("115", "地理");
		SUBCATEGORY_MAP.put("116", "天文");
		SUBCATEGORY_MAP.put("117", "气候");
		SUBCATEGORY_MAP.put("118", "战争");
		SUBCATEGORY_MAP.put("119", "军事");
		SUBCATEGORY_MAP.put("120", "历史");
		SUBCATEGORY_MAP.put("121", "考古");
		SUBCATEGORY_MAP.put("122", "社会");
		SUBCATEGORY_MAP.put("123", "犯罪");
		SUBCATEGORY_MAP.put("124", "金融");
		SUBCATEGORY_MAP.put("125", "人物");
		SUBCATEGORY_MAP.put("126", "艺术");
		SUBCATEGORY_MAP.put("127", "人文");
		SUBCATEGORY_MAP.put("128", "建筑");
		SUBCATEGORY_MAP.put("129", "美食");
		SUBCATEGORY_MAP.put("130", "百科");
		SUBCATEGORY_MAP.put("131", "环保");
		SUBCATEGORY_MAP.put("132", "乐视娱乐出品");
		SUBCATEGORY_MAP.put("133", "热点追踪");
		SUBCATEGORY_MAP.put("134", "最新资讯");
		SUBCATEGORY_MAP.put("135", "乐视大牌党");
		SUBCATEGORY_MAP.put("136", "韩流来了");
		SUBCATEGORY_MAP.put("137", "音乐疯向标");
		SUBCATEGORY_MAP.put("138", "电影黑板报");
		SUBCATEGORY_MAP.put("139", "明星另一面");
		SUBCATEGORY_MAP.put("140", "影视第一线");
		SUBCATEGORY_MAP.put("141", "今日话题播报");
		SUBCATEGORY_MAP.put("142", "娱乐周报");
		SUBCATEGORY_MAP.put("143", "观影调查");
		SUBCATEGORY_MAP.put("144", "乐视风向");
		SUBCATEGORY_MAP.put("145", "明星资讯");
		SUBCATEGORY_MAP.put("146", "电影资讯");
		SUBCATEGORY_MAP.put("147", "电视资讯");
		SUBCATEGORY_MAP.put("148", "音乐资讯");
		SUBCATEGORY_MAP.put("149", "综艺资讯");
		SUBCATEGORY_MAP.put("150", "网络热点");
		SUBCATEGORY_MAP.put("151", "独家策划");
		SUBCATEGORY_MAP.put("153", "历史");
		SUBCATEGORY_MAP.put("154", "短片");
		SUBCATEGORY_MAP.put("155", "传记");
		SUBCATEGORY_MAP.put("156", "体育");
		SUBCATEGORY_MAP.put("164", "原创");
		SUBCATEGORY_MAP.put("165", "命理");
		SUBCATEGORY_MAP.put("166", "选秀");
		SUBCATEGORY_MAP.put("167", "时尚");
		SUBCATEGORY_MAP.put("168", "其他");
		SUBCATEGORY_MAP.put("169", "汽车");
		SUBCATEGORY_MAP.put("170", "海外合作");
		SUBCATEGORY_MAP.put("171", "驭乐会");
		SUBCATEGORY_MAP.put("172", "斗秀场");
		SUBCATEGORY_MAP.put("173", "炫大牌");
		SUBCATEGORY_MAP.put("174", "媒体分享");
		SUBCATEGORY_MAP.put("175", "网友分享");
		SUBCATEGORY_MAP.put("176", "新闻发布");
		SUBCATEGORY_MAP.put("177", "针锋相对");
		SUBCATEGORY_MAP.put("178", "自制");
		SUBCATEGORY_MAP.put("179", "版权");
		SUBCATEGORY_MAP.put("180", "分享");
		SUBCATEGORY_MAP.put("181", "资源");
		SUBCATEGORY_MAP.put("182", "其他");
		SUBCATEGORY_MAP.put("183", "试乘试驾");
		SUBCATEGORY_MAP.put("184", "现场直击");
		SUBCATEGORY_MAP.put("185", "自制栏目");
		SUBCATEGORY_MAP.put("186", "风尚");
		SUBCATEGORY_MAP.put("187", "资讯");
		SUBCATEGORY_MAP.put("188", "知识");
		SUBCATEGORY_MAP.put("189", "短片");
		SUBCATEGORY_MAP.put("190", "秀场");
		SUBCATEGORY_MAP.put("191", "party");
		SUBCATEGORY_MAP.put("192", "专访");
		SUBCATEGORY_MAP.put("193", "其他");
		SUBCATEGORY_MAP.put("202", "乐视出品");
		SUBCATEGORY_MAP.put("203", "喜剧");
		SUBCATEGORY_MAP.put("204", "爱情");
		SUBCATEGORY_MAP.put("205", "剧情");
		SUBCATEGORY_MAP.put("206", "青春");
		SUBCATEGORY_MAP.put("207", "动作");
		SUBCATEGORY_MAP.put("208", "惊悚");
		SUBCATEGORY_MAP.put("209", "悬疑");
		SUBCATEGORY_MAP.put("210", "冒险");
		SUBCATEGORY_MAP.put("211", "科幻");
		SUBCATEGORY_MAP.put("212", "警匪");
		SUBCATEGORY_MAP.put("213", "武侠");
		SUBCATEGORY_MAP.put("214", "灾难");
		SUBCATEGORY_MAP.put("215", "激情");
		SUBCATEGORY_MAP.put("216", "歌舞");
		SUBCATEGORY_MAP.put("217", "家庭");
		SUBCATEGORY_MAP.put("218", "纪录");
		SUBCATEGORY_MAP.put("219", "动画");
		SUBCATEGORY_MAP.put("220", "战争");
		SUBCATEGORY_MAP.put("221", "体育");
		SUBCATEGORY_MAP.put("222", "英超");
		SUBCATEGORY_MAP.put("223", "西甲");
		SUBCATEGORY_MAP.put("224", "意甲");
		SUBCATEGORY_MAP.put("225", "欧冠");
		SUBCATEGORY_MAP.put("226", "国际足球其他");
		SUBCATEGORY_MAP.put("227", "中超");
		SUBCATEGORY_MAP.put("228", "国足");
		SUBCATEGORY_MAP.put("229", "国内足球其他");
		SUBCATEGORY_MAP.put("230", "CBA");
		SUBCATEGORY_MAP.put("231", "中国篮球");
		SUBCATEGORY_MAP.put("232", "NBA");
		SUBCATEGORY_MAP.put("233", "篮球其他");
		SUBCATEGORY_MAP.put("234", "网球");
		SUBCATEGORY_MAP.put("235", "综合体育");
		SUBCATEGORY_MAP.put("236", "台球");
		SUBCATEGORY_MAP.put("237", "欧洲杯");
		SUBCATEGORY_MAP.put("238", "世界杯");
		SUBCATEGORY_MAP.put("239", "奥运会");
		SUBCATEGORY_MAP.put("240", "影视");
		SUBCATEGORY_MAP.put("241", "流行");
		SUBCATEGORY_MAP.put("242", "独立");
		SUBCATEGORY_MAP.put("243", "摇滚");
		SUBCATEGORY_MAP.put("244", "电子");
		SUBCATEGORY_MAP.put("245", "民谣");
		SUBCATEGORY_MAP.put("246", "嘻哈");
		SUBCATEGORY_MAP.put("247", "R&B");
		SUBCATEGORY_MAP.put("248", "乡村");
		SUBCATEGORY_MAP.put("249", "爵士");
		SUBCATEGORY_MAP.put("250", "布鲁斯");
		SUBCATEGORY_MAP.put("251", "雷鬼");
		SUBCATEGORY_MAP.put("252", "拉丁");
		SUBCATEGORY_MAP.put("253", "新世纪");
		SUBCATEGORY_MAP.put("254", "古典");
		SUBCATEGORY_MAP.put("255", "轻音乐");
		SUBCATEGORY_MAP.put("256", "世界音乐");
		SUBCATEGORY_MAP.put("257", "原声");
		SUBCATEGORY_MAP.put("258", "民族/曲艺");
		SUBCATEGORY_MAP.put("259", "其他");
		SUBCATEGORY_MAP.put("260", "谈话");
		SUBCATEGORY_MAP.put("261", "战斗");
		SUBCATEGORY_MAP.put("262", "冒险");
		SUBCATEGORY_MAP.put("263", "奇幻");
		SUBCATEGORY_MAP.put("264", "治愈");
		SUBCATEGORY_MAP.put("265", "魔法");
		SUBCATEGORY_MAP.put("266", "日常");
		SUBCATEGORY_MAP.put("267", "科幻");
		SUBCATEGORY_MAP.put("268", "惊悚");
		SUBCATEGORY_MAP.put("269", "竞技");
		SUBCATEGORY_MAP.put("270", "后宫");
		SUBCATEGORY_MAP.put("271", "百合");
		SUBCATEGORY_MAP.put("272", "耽美");
		SUBCATEGORY_MAP.put("273", "童话");
		SUBCATEGORY_MAP.put("274", "英雄");
		SUBCATEGORY_MAP.put("275", "益智");
		SUBCATEGORY_MAP.put("276", "魔幻");
		SUBCATEGORY_MAP.put("277", "动作");
		SUBCATEGORY_MAP.put("278", "教育");
		SUBCATEGORY_MAP.put("279", "轻松");
		SUBCATEGORY_MAP.put("280", "神话");
		SUBCATEGORY_MAP.put("281", "生活");
		SUBCATEGORY_MAP.put("282", "宠物");
		SUBCATEGORY_MAP.put("283", "都市");
		SUBCATEGORY_MAP.put("284", "纪实");
		SUBCATEGORY_MAP.put("285", "美食");
		SUBCATEGORY_MAP.put("286", "游戏");
		SUBCATEGORY_MAP.put("287", "真人秀");
		SUBCATEGORY_MAP.put("288", "搞笑");
		SUBCATEGORY_MAP.put("289", "脱口秀");
		SUBCATEGORY_MAP.put("290", "文化");
		SUBCATEGORY_MAP.put("291", "曲艺");
		SUBCATEGORY_MAP.put("292", "歌舞");
		SUBCATEGORY_MAP.put("293", "看点");
		SUBCATEGORY_MAP.put("294", "高尔夫");
		SUBCATEGORY_MAP.put("295", "法甲");
		SUBCATEGORY_MAP.put("296", "欧冠篮球");
		SUBCATEGORY_MAP.put("297", "经典");
		SUBCATEGORY_MAP.put("298", "财经");
		SUBCATEGORY_MAP.put("299", "市场交易");
		SUBCATEGORY_MAP.put("300", "投资理财");
		SUBCATEGORY_MAP.put("301", "民生经济");
		SUBCATEGORY_MAP.put("302", "品质生活");
		SUBCATEGORY_MAP.put("303", "经济管理");
		SUBCATEGORY_MAP.put("304", "行业经济");
		SUBCATEGORY_MAP.put("305", "亚冠");
		SUBCATEGORY_MAP.put("306", "德甲");
		SUBCATEGORY_MAP.put("307", "旅游频道");
		SUBCATEGORY_MAP.put("308", "古城");
		SUBCATEGORY_MAP.put("309", "邮轮");
		SUBCATEGORY_MAP.put("310", "滑雪");
		SUBCATEGORY_MAP.put("311", "蜜月");
		SUBCATEGORY_MAP.put("312", "SPA");
		SUBCATEGORY_MAP.put("313", "酒店");
		SUBCATEGORY_MAP.put("314", "格调");
		SUBCATEGORY_MAP.put("315", "节庆");
		SUBCATEGORY_MAP.put("316", "家庭");
		SUBCATEGORY_MAP.put("317", "赏花");
		SUBCATEGORY_MAP.put("318", "夜生活");
		SUBCATEGORY_MAP.put("319", "空中");
		SUBCATEGORY_MAP.put("320", "海岛");
		SUBCATEGORY_MAP.put("321", "潜水");
		SUBCATEGORY_MAP.put("322", "美食");
		SUBCATEGORY_MAP.put("323", "探险");
		SUBCATEGORY_MAP.put("324", "都市");
		SUBCATEGORY_MAP.put("325", "登山");
		SUBCATEGORY_MAP.put("326", "自驾");
		SUBCATEGORY_MAP.put("327", "徒步");
		SUBCATEGORY_MAP.put("328", "运动");
		SUBCATEGORY_MAP.put("329", "购物");

		NEW_SUBCATEGORY_MAP.put("30008", "剧情");
		NEW_SUBCATEGORY_MAP.put("30009", "喜剧");
		NEW_SUBCATEGORY_MAP.put("30010", "动作");
		NEW_SUBCATEGORY_MAP.put("30011", "爱情");
		NEW_SUBCATEGORY_MAP.put("30012", "恐怖");
		NEW_SUBCATEGORY_MAP.put("30013", "动画");
		NEW_SUBCATEGORY_MAP.put("30014", "战争");
		NEW_SUBCATEGORY_MAP.put("30015", "惊悚");
		NEW_SUBCATEGORY_MAP.put("30016", "悬疑");
		NEW_SUBCATEGORY_MAP.put("30017", "奇幻");
		NEW_SUBCATEGORY_MAP.put("30018", "犯罪");
		NEW_SUBCATEGORY_MAP.put("30019", "冒险");
		NEW_SUBCATEGORY_MAP.put("30020", "科幻");
		NEW_SUBCATEGORY_MAP.put("30021", "警匪");
		NEW_SUBCATEGORY_MAP.put("30022", "武侠");
		NEW_SUBCATEGORY_MAP.put("30023", "灾难");
		NEW_SUBCATEGORY_MAP.put("30024", "伦理");
		NEW_SUBCATEGORY_MAP.put("30025", "歌舞");
		NEW_SUBCATEGORY_MAP.put("30026", "家庭");
		NEW_SUBCATEGORY_MAP.put("30027", "纪录");
		NEW_SUBCATEGORY_MAP.put("30039", "都市");
		NEW_SUBCATEGORY_MAP.put("30042", "古装");
		NEW_SUBCATEGORY_MAP.put("30044", "情景");
		NEW_SUBCATEGORY_MAP.put("30045", "生活");
		NEW_SUBCATEGORY_MAP.put("30046", "情感");
		NEW_SUBCATEGORY_MAP.put("30050", "热血");
		NEW_SUBCATEGORY_MAP.put("30051", "机战");
		NEW_SUBCATEGORY_MAP.put("30052", "运动");
		NEW_SUBCATEGORY_MAP.put("30053", "美少女");
		NEW_SUBCATEGORY_MAP.put("30054", "励志");
		NEW_SUBCATEGORY_MAP.put("30055", "怪物");
		NEW_SUBCATEGORY_MAP.put("30056", "女性向");
		NEW_SUBCATEGORY_MAP.put("30057", "搞笑");
		NEW_SUBCATEGORY_MAP.put("30058", "真人");
		NEW_SUBCATEGORY_MAP.put("30059", "神魔");
		NEW_SUBCATEGORY_MAP.put("30060", "男性向");
		NEW_SUBCATEGORY_MAP.put("30061", "悬疑推理");
		NEW_SUBCATEGORY_MAP.put("30062", "LOLI");
		NEW_SUBCATEGORY_MAP.put("30063", "恋爱");
		NEW_SUBCATEGORY_MAP.put("30064", "育儿");
		NEW_SUBCATEGORY_MAP.put("30065", "脱口秀");
		NEW_SUBCATEGORY_MAP.put("30068", "时尚");
		NEW_SUBCATEGORY_MAP.put("30069", "美食");
		NEW_SUBCATEGORY_MAP.put("30070", "游戏");
		NEW_SUBCATEGORY_MAP.put("30071", "舞蹈");
		NEW_SUBCATEGORY_MAP.put("30072", "选秀");
		NEW_SUBCATEGORY_MAP.put("30073", "旅游");
		NEW_SUBCATEGORY_MAP.put("30075", "真人秀");
		NEW_SUBCATEGORY_MAP.put("30082", "播报");
		NEW_SUBCATEGORY_MAP.put("30083", "访谈");
		NEW_SUBCATEGORY_MAP.put("30085", "每日文娱播报");
		NEW_SUBCATEGORY_MAP.put("30088", "校园");
		NEW_SUBCATEGORY_MAP.put("30089", "成人");
		NEW_SUBCATEGORY_MAP.put("30090", "国产");
		NEW_SUBCATEGORY_MAP.put("30094", "文学");
		NEW_SUBCATEGORY_MAP.put("30095", "经济学");
		NEW_SUBCATEGORY_MAP.put("30096", "物理");
		NEW_SUBCATEGORY_MAP.put("30097", "生物学");
		NEW_SUBCATEGORY_MAP.put("30098", "社会学");
		NEW_SUBCATEGORY_MAP.put("30099", "艺术类");
		NEW_SUBCATEGORY_MAP.put("30100", "建筑学");
		NEW_SUBCATEGORY_MAP.put("30101", "医学");
		NEW_SUBCATEGORY_MAP.put("30102", "天文学");
		NEW_SUBCATEGORY_MAP.put("30103", "化学");
		NEW_SUBCATEGORY_MAP.put("30104", "政治学");
		NEW_SUBCATEGORY_MAP.put("30105", "心理学");
		NEW_SUBCATEGORY_MAP.put("30106", "哲学");
		NEW_SUBCATEGORY_MAP.put("30107", "计算机");
		NEW_SUBCATEGORY_MAP.put("30109", "法学");
		NEW_SUBCATEGORY_MAP.put("30110", "演讲");
		NEW_SUBCATEGORY_MAP.put("30112", "自然");
		NEW_SUBCATEGORY_MAP.put("30113", "动物");
		NEW_SUBCATEGORY_MAP.put("30114", "科学");
		NEW_SUBCATEGORY_MAP.put("30115", "地理");
		NEW_SUBCATEGORY_MAP.put("30116", "天文");
		NEW_SUBCATEGORY_MAP.put("30117", "气候");
		NEW_SUBCATEGORY_MAP.put("30119", "军事");
		NEW_SUBCATEGORY_MAP.put("30121", "考古");
		NEW_SUBCATEGORY_MAP.put("30122", "社会");
		NEW_SUBCATEGORY_MAP.put("30124", "金融");
		NEW_SUBCATEGORY_MAP.put("30125", "人物");
		NEW_SUBCATEGORY_MAP.put("30126", "艺术");
		NEW_SUBCATEGORY_MAP.put("30127", "人文");
		NEW_SUBCATEGORY_MAP.put("30128", "建筑");
		NEW_SUBCATEGORY_MAP.put("30130", "百科");
		NEW_SUBCATEGORY_MAP.put("30131", "环保");
		NEW_SUBCATEGORY_MAP.put("30153", "历史");
		NEW_SUBCATEGORY_MAP.put("30154", "短片");
		NEW_SUBCATEGORY_MAP.put("30155", "传记");
		NEW_SUBCATEGORY_MAP.put("30156", "体育");
		NEW_SUBCATEGORY_MAP.put("30165", "命理");
		NEW_SUBCATEGORY_MAP.put("30167", "时尚");
		NEW_SUBCATEGORY_MAP.put("30187", "资讯");
		NEW_SUBCATEGORY_MAP.put("30188", "知识");
		NEW_SUBCATEGORY_MAP.put("30190", "秀场");
		NEW_SUBCATEGORY_MAP.put("30191", "party");
		NEW_SUBCATEGORY_MAP.put("30192", "专访");
		NEW_SUBCATEGORY_MAP.put("30222", "英超");
		NEW_SUBCATEGORY_MAP.put("30223", "西甲");
		NEW_SUBCATEGORY_MAP.put("30224", "意甲");
		NEW_SUBCATEGORY_MAP.put("30225", "欧冠");
		NEW_SUBCATEGORY_MAP.put("30226", "国际足球其他");
		NEW_SUBCATEGORY_MAP.put("30227", "中超");
		NEW_SUBCATEGORY_MAP.put("30228", "国足");
		NEW_SUBCATEGORY_MAP.put("30229", "国内足球其他");
		NEW_SUBCATEGORY_MAP.put("30230", "CBA");
		NEW_SUBCATEGORY_MAP.put("30231", "中国篮球");
		NEW_SUBCATEGORY_MAP.put("30232", "NBA");
		NEW_SUBCATEGORY_MAP.put("30233", "篮球其他");
		NEW_SUBCATEGORY_MAP.put("30234", "网球");
		NEW_SUBCATEGORY_MAP.put("30235", "综合体育");
		NEW_SUBCATEGORY_MAP.put("30236", "台球");
		NEW_SUBCATEGORY_MAP.put("30237", "欧洲杯");
		NEW_SUBCATEGORY_MAP.put("30238", "世界杯");
		NEW_SUBCATEGORY_MAP.put("30239", "奥运会");
		NEW_SUBCATEGORY_MAP.put("30240", "影视");
		NEW_SUBCATEGORY_MAP.put("30260", "谈话");
		NEW_SUBCATEGORY_MAP.put("30261", "战斗");
		NEW_SUBCATEGORY_MAP.put("30264", "治愈");
		NEW_SUBCATEGORY_MAP.put("30265", "魔法");
		NEW_SUBCATEGORY_MAP.put("30266", "日常");
		NEW_SUBCATEGORY_MAP.put("30269", "竞技");
		NEW_SUBCATEGORY_MAP.put("30270", "后宫");
		NEW_SUBCATEGORY_MAP.put("30271", "百合");
		NEW_SUBCATEGORY_MAP.put("30272", "耽美");
		NEW_SUBCATEGORY_MAP.put("30273", "童话");
		NEW_SUBCATEGORY_MAP.put("30274", "英雄");
		NEW_SUBCATEGORY_MAP.put("30275", "益智");
		NEW_SUBCATEGORY_MAP.put("30278", "教育");
		NEW_SUBCATEGORY_MAP.put("30279", "轻松");
		NEW_SUBCATEGORY_MAP.put("30280", "神话");
		NEW_SUBCATEGORY_MAP.put("30282", "宠物");
		NEW_SUBCATEGORY_MAP.put("30284", "纪实");
		NEW_SUBCATEGORY_MAP.put("30290", "文化");
		NEW_SUBCATEGORY_MAP.put("30291", "曲艺");
		NEW_SUBCATEGORY_MAP.put("30293", "看点");
		NEW_SUBCATEGORY_MAP.put("30294", "高尔夫");
		NEW_SUBCATEGORY_MAP.put("30295", "法甲");
		NEW_SUBCATEGORY_MAP.put("30296", "欧冠篮球");
		NEW_SUBCATEGORY_MAP.put("30312", "西部");
		NEW_SUBCATEGORY_MAP.put("30313", "情色");
		NEW_SUBCATEGORY_MAP.put("30314", "文艺");
		NEW_SUBCATEGORY_MAP.put("30316", "预告");
		NEW_SUBCATEGORY_MAP.put("30317", "军旅");
		NEW_SUBCATEGORY_MAP.put("30318", "谍战");
		NEW_SUBCATEGORY_MAP.put("30319", "刑侦");
		NEW_SUBCATEGORY_MAP.put("30320", "偶像");
		NEW_SUBCATEGORY_MAP.put("30323", "其他");
		NEW_SUBCATEGORY_MAP.put("30327", "音乐");
		NEW_SUBCATEGORY_MAP.put("30351", "片花");
		NEW_SUBCATEGORY_MAP.put("30352", "歌曲");
		NEW_SUBCATEGORY_MAP.put("30353", "工作");
		NEW_SUBCATEGORY_MAP.put("30354", "魔幻");
		NEW_SUBCATEGORY_MAP.put("30355", "体彩");
		NEW_SUBCATEGORY_MAP.put("30356", "足彩");
		NEW_SUBCATEGORY_MAP.put("30357", "篮彩");
		NEW_SUBCATEGORY_MAP.put("30358", "全运会");
		NEW_SUBCATEGORY_MAP.put("30359", "亚运会");
		NEW_SUBCATEGORY_MAP.put("30360", "ATP");
		NEW_SUBCATEGORY_MAP.put("30361", "WTA");
		NEW_SUBCATEGORY_MAP.put("30362", "棒球");
		NEW_SUBCATEGORY_MAP.put("30363", "赛车");
		NEW_SUBCATEGORY_MAP.put("30364", "格斗");
		NEW_SUBCATEGORY_MAP.put("30365", "德甲");
		NEW_SUBCATEGORY_MAP.put("30366", "冬奥会");
		NEW_SUBCATEGORY_MAP.put("30367", "经典");
		NEW_SUBCATEGORY_MAP.put("500241", "流行");
		NEW_SUBCATEGORY_MAP.put("500242", "独立");
		NEW_SUBCATEGORY_MAP.put("500243", "摇滚");
		NEW_SUBCATEGORY_MAP.put("500244", "电子");
		NEW_SUBCATEGORY_MAP.put("500245", "民谣");
		NEW_SUBCATEGORY_MAP.put("500246", "嘻哈");
		NEW_SUBCATEGORY_MAP.put("500247", "R&B");
		NEW_SUBCATEGORY_MAP.put("500248", "乡村");
		NEW_SUBCATEGORY_MAP.put("500249", "爵士");
		NEW_SUBCATEGORY_MAP.put("500250", "布鲁斯");
		NEW_SUBCATEGORY_MAP.put("500251", "雷鬼");
		NEW_SUBCATEGORY_MAP.put("500252", "拉丁");
		NEW_SUBCATEGORY_MAP.put("500253", "新世纪");
		NEW_SUBCATEGORY_MAP.put("500254", "古典");
		NEW_SUBCATEGORY_MAP.put("500255", "轻音乐");
		NEW_SUBCATEGORY_MAP.put("500256", "世界音乐");
		NEW_SUBCATEGORY_MAP.put("500257", "原声");
		NEW_SUBCATEGORY_MAP.put("500258", "民族/曲艺");

		VIDEOTYPE_MAP.put("1", "正片");
		VIDEOTYPE_MAP.put("2", "预告片");
		VIDEOTYPE_MAP.put("3", "花絮");
		VIDEOTYPE_MAP.put("4", "资讯");
		VIDEOTYPE_MAP.put("5", "其他");
		VIDEOTYPE_MAP.put("31", "TV版");
		VIDEOTYPE_MAP.put("32", "OVA版");
		VIDEOTYPE_MAP.put("33", "剧场版");
		VIDEOTYPE_MAP.put("34", "OAD版");
		VIDEOTYPE_MAP.put("35", "MAD");
		VIDEOTYPE_MAP.put("36", "官方PV");
		VIDEOTYPE_MAP.put("37", "SP");
		VIDEOTYPE_MAP.put("50", "MV");
		VIDEOTYPE_MAP.put("51", "演唱会");
		VIDEOTYPE_MAP.put("52", "音乐节");
		VIDEOTYPE_MAP.put("54", "其他现场");
		VIDEOTYPE_MAP.put("55", "采访");
		VIDEOTYPE_MAP.put("56", "新闻");
		VIDEOTYPE_MAP.put("101", "乐视大牌党");
		VIDEOTYPE_MAP.put("102", "韩流来了");
		VIDEOTYPE_MAP.put("103", "音乐疯向标");
		VIDEOTYPE_MAP.put("104", "电影黑板报");
		VIDEOTYPE_MAP.put("105", "明星另一面");
		VIDEOTYPE_MAP.put("106", "影视第一线");
		VIDEOTYPE_MAP.put("107", "乐视剧好看");
		VIDEOTYPE_MAP.put("108", "乐视星宾乐");
		VIDEOTYPE_MAP.put("109", "我记录");
		VIDEOTYPE_MAP.put("121", "今日话题播报");
		VIDEOTYPE_MAP.put("122", "娱乐周报");
		VIDEOTYPE_MAP.put("123", "观影调查");
		VIDEOTYPE_MAP.put("124", "乐视风向");
		VIDEOTYPE_MAP.put("125", "独家策划");
		VIDEOTYPE_MAP.put("126", "独家专访");
		VIDEOTYPE_MAP.put("127", "乐视在现场");
		VIDEOTYPE_MAP.put("141", "明星资讯");
		VIDEOTYPE_MAP.put("142", "电影资讯");
		VIDEOTYPE_MAP.put("143", "电视资讯");
		VIDEOTYPE_MAP.put("144", "音乐资讯");
		VIDEOTYPE_MAP.put("145", "综艺资讯");
		VIDEOTYPE_MAP.put("146", "网络热点");
		VIDEOTYPE_MAP.put("201", "自拍");
		VIDEOTYPE_MAP.put("202", "片段");
		VIDEOTYPE_MAP.put("203", "桦榭提供");
		VIDEOTYPE_MAP.put("204", "星座");
		VIDEOTYPE_MAP.put("205", "生肖");
		VIDEOTYPE_MAP.put("206", "战报");
		VIDEOTYPE_MAP.put("207", "录播");
		VIDEOTYPE_MAP.put("208", "策划");
		VIDEOTYPE_MAP.put("209", "回顾");
		VIDEOTYPE_MAP.put("210", "访谈");
		VIDEOTYPE_MAP.put("211", "微电影");

		NEW_VIDEOTYPE_MAP.put("180001", "正片");
		NEW_VIDEOTYPE_MAP.put("180002", "预告片");
		NEW_VIDEOTYPE_MAP.put("180003", "花絮");
		NEW_VIDEOTYPE_MAP.put("180004", "资讯");
		NEW_VIDEOTYPE_MAP.put("180005", "其他");
		NEW_VIDEOTYPE_MAP.put("180006", "论坛");
		NEW_VIDEOTYPE_MAP.put("180007", "栏目剧");
		NEW_VIDEOTYPE_MAP.put("180008", "脱口秀");
		NEW_VIDEOTYPE_MAP.put("180009", "真人秀");
		NEW_VIDEOTYPE_MAP.put("180010", "公开课");
		NEW_VIDEOTYPE_MAP.put("180011", "纪录片");
		NEW_VIDEOTYPE_MAP.put("180012", "广告");
		NEW_VIDEOTYPE_MAP.put("180013", "自制栏目");
		NEW_VIDEOTYPE_MAP.put("180014", "媒体合作");
		NEW_VIDEOTYPE_MAP.put("180015", "版权引进");
		NEW_VIDEOTYPE_MAP.put("180016", "新闻发布");
		NEW_VIDEOTYPE_MAP.put("180017", "网友分享");
		NEW_VIDEOTYPE_MAP.put("180211", "微电影");
		NEW_VIDEOTYPE_MAP.put("181031", "TV版");
		NEW_VIDEOTYPE_MAP.put("181032", "OVA版");
		NEW_VIDEOTYPE_MAP.put("181033", "剧场版");
		NEW_VIDEOTYPE_MAP.put("181034", "OAD版");
		NEW_VIDEOTYPE_MAP.put("181202", "片段");
		NEW_VIDEOTYPE_MAP.put("181204", "星座");
		NEW_VIDEOTYPE_MAP.put("181205", "生肖");
		NEW_VIDEOTYPE_MAP.put("182050", "MV");
		NEW_VIDEOTYPE_MAP.put("182051", "演唱会");
		NEW_VIDEOTYPE_MAP.put("182052", "音乐节");
		NEW_VIDEOTYPE_MAP.put("182053", "颁奖礼");
		NEW_VIDEOTYPE_MAP.put("182054", "其他现场");
		NEW_VIDEOTYPE_MAP.put("182055", "采访");
		NEW_VIDEOTYPE_MAP.put("182056", "新闻");
		NEW_VIDEOTYPE_MAP.put("182201", "自拍");
		NEW_VIDEOTYPE_MAP.put("182202", "片段");
		NEW_VIDEOTYPE_MAP.put("182203", "华榭提供");
		NEW_VIDEOTYPE_MAP.put("182206", "战报");
		NEW_VIDEOTYPE_MAP.put("182207", "录播");
		NEW_VIDEOTYPE_MAP.put("182208", "策划");
		NEW_VIDEOTYPE_MAP.put("182209", "回顾");
		NEW_VIDEOTYPE_MAP.put("182210", "访谈");
		NEW_VIDEOTYPE_MAP.put("182211", "特别篇");

		AREA_MAP.put("1", "中国大陆");
		AREA_MAP.put("2", "香港");
		AREA_MAP.put("150", "华语地区");
		AREA_MAP.put("3", "台湾");
		AREA_MAP.put("4", "马来西亚");
		AREA_MAP.put("5", "新加坡");
		AREA_MAP.put("40", "日韩地区");
		AREA_MAP.put("41", "日本");
		AREA_MAP.put("42", "韩国");
		AREA_MAP.put("70", "欧美地区");
		AREA_MAP.put("71", "美国");
		AREA_MAP.put("72", "英国");
		AREA_MAP.put("73", "加拿大");
		AREA_MAP.put("74", "西班牙");
		AREA_MAP.put("75", "法国");
		AREA_MAP.put("76", "德国");
		AREA_MAP.put("77", "挪威");
		AREA_MAP.put("78", "意大利");
		AREA_MAP.put("79", "澳大利亚");
		AREA_MAP.put("105", "其他地区");
		AREA_MAP.put("100", "其他");
		AREA_MAP.put("101", "泰国");
		AREA_MAP.put("102", "俄罗斯");
		AREA_MAP.put("103", "印度");
		AREA_MAP.put("104", "东南亚");
		AREA_MAP.put("6", "北京");
		AREA_MAP.put("7", "上海");
		AREA_MAP.put("8", "广州");
		AREA_MAP.put("9", "其他");
		AREA_MAP.put("151", "欧美其他");

		NEW_AREA_MAP.put("50000", "全部地区");
		NEW_AREA_MAP.put("50001", "中国大陆");
		NEW_AREA_MAP.put("50002", "香港");
		NEW_AREA_MAP.put("50003", "台湾");
		NEW_AREA_MAP.put("50004", "马来西亚");
		NEW_AREA_MAP.put("50005", "新加坡");
		NEW_AREA_MAP.put("50006", "北京");
		NEW_AREA_MAP.put("50007", "上海");
		NEW_AREA_MAP.put("50008", "广州");
		NEW_AREA_MAP.put("50009", "其他");
		NEW_AREA_MAP.put("50040", "日韩地区");
		NEW_AREA_MAP.put("50041", "日本");
		NEW_AREA_MAP.put("50042", "韩国");
		NEW_AREA_MAP.put("50070", "欧美地区");
		NEW_AREA_MAP.put("50071", "美国");
		NEW_AREA_MAP.put("50072", "英国");
		NEW_AREA_MAP.put("50073", "加拿大");
		NEW_AREA_MAP.put("50074", "西班牙");
		NEW_AREA_MAP.put("50075", "法国");
		NEW_AREA_MAP.put("50076", "德国");
		NEW_AREA_MAP.put("50077", "挪威");
		NEW_AREA_MAP.put("50078", "意大利");
		NEW_AREA_MAP.put("50079", "澳大利亚");
		NEW_AREA_MAP.put("50100", "其他");
		NEW_AREA_MAP.put("50101", "泰国");
		NEW_AREA_MAP.put("50102", "俄罗斯");
		NEW_AREA_MAP.put("50103", "印度");
		NEW_AREA_MAP.put("50104", "东南亚");
		NEW_AREA_MAP.put("50105", "其他地区");
		NEW_AREA_MAP.put("50150", "华语地区");
		NEW_AREA_MAP.put("50151", "欧美其他");
		NEW_AREA_MAP.put("50338", "墨西哥");

		CID_MAPIING.put("1", "4");// 电影
		CID_MAPIING.put("2", "5");// 电视剧
		CID_MAPIING.put("3", "86");// 娱乐
		CID_MAPIING.put("4", "221");// 体育
		CID_MAPIING.put("5", "6");// 动漫
		CID_MAPIING.put("6", "1006");// 资讯
		CID_MAPIING.put("7", "164");// 乐视制造
		CID_MAPIING.put("8", "1008");// 其他
		CID_MAPIING.put("9", "66");// 音乐
		CID_MAPIING.put("10", "1010");// 搞笑
		CID_MAPIING.put("11", "78");// 综艺
		CID_MAPIING.put("12", "1012");// 科教
		CID_MAPIING.put("13", "281");// 生活
		CID_MAPIING.put("14", "169");// 汽车
		CID_MAPIING.put("16", "111");// 纪录片
		CID_MAPIING.put("17", "92");// 公开课
		CID_MAPIING.put("15", "77");// 电视节目
		CID_MAPIING.put("19", "164");// 乐视制造
		CID_MAPIING.put("20", "186");// 风尚
		CID_MAPIING.put("21", "202");// 乐视出品

		LESOTOLETV_MAPIING.put(String.valueOf(Constants.LESO_TV), String.valueOf(Constants.TV));
		LESOTOLETV_MAPIING.put(String.valueOf(Constants.LESO_MOVIE), String.valueOf(Constants.MOVIE));
		LESOTOLETV_MAPIING.put(String.valueOf(Constants.LESO_DONGMAN), String.valueOf(Constants.CARTOON));
		LESOTOLETV_MAPIING.put(String.valueOf(Constants.LESO_WEIDIANYING), String.valueOf(Constants.LETVPRODUCE));
		LESOTOLETV_MAPIING.put(String.valueOf(Constants.LESO_ZONGYI), String.valueOf(Constants.VARIETY));
		LESOTOLETV_MAPIING.put(String.valueOf(Constants.LESO_YINYUE), String.valueOf(Constants.MUSIC));
		LESOTOLETV_MAPIING.put(String.valueOf(Constants.LESO_TIYU), String.valueOf(Constants.SPORTS));
		LESOTOLETV_MAPIING.put(String.valueOf(Constants.LESO_QICHE), String.valueOf(Constants.CAR));

		WEBSITE_LIST.add(Constants.WEBSITE_LETV);
		WEBSITE_LIST.add(Constants.WEBSITE_IQIYI);
		WEBSITE_LIST.add(Constants.WEBSITE_YOUKU);
		WEBSITE_LIST.add(Constants.WEBSITE_TUDOU);
		WEBSITE_LIST.add(Constants.WEBSITE_XUNLEI);
		WEBSITE_LIST.add(Constants.WEBSITE_KU6);
		WEBSITE_LIST.add(Constants.WEBSITE_M1905);
		WEBSITE_LIST.add(Constants.WEBSITE_PPTV);
		WEBSITE_LIST.add(Constants.WEBSITE_PPS);
		WEBSITE_LIST.add(Constants.WEBSITE_SOHU);
		WEBSITE_LIST.add(Constants.WEBSITE_QQ);
		WEBSITE_LIST.add(Constants.WEBSITE_SINA);
		WEBSITE_LIST.add(Constants.WEBSITE_56);
		WEBSITE_LIST.add(Constants.WEBSITE_FUNSHION);
		WEBSITE_LIST.add(Constants.WEBSITE_IFENG);
		WEBSITE_LIST.add(Constants.WEBSITE_KUMI);
		WEBSITE_LIST.add(Constants.WEBSITE_BEVA);
		WEBSITE_LIST.add(Constants.WEBSITE_61);
		WEBSITE_LIST.add(Constants.WEBSITE_YINYUETAI);
		WEBSITE_LIST.add(Constants.WEBSITE_CNTV);
		WEBSITE_LIST.add(Constants.WEBSITE_WASU);
		WEBSITE_LIST.add(Constants.WEBSITE_QIYI);
	}

    public static String getDictinaryDefaultValue(String key) {
        return getDictionaryValue(key, "value");
    }

    public static String getDictinaryEnValue(String key) {
        return getDictionaryValue(key, "value_en");
    }

    private static String getDictionaryValue(String key, String key1) {
        Map<String, String> map = DICTIONARY_MAP.get(key);
        if (map != null) {
            return map.get(key1);
        }
        return null;
    }

    public static void initDisplayAreaMap(String str) {
        if (StringUtils.isBlank(str)) {
            return;
        }
        String[] kvArray = str.split(";");
        for (String kv : kvArray) {
            String[] dic = kv.split(":");
            if (dic.length == 2) {
                DISPLAY_AREA_MAP.put(dic[0], dic[1]);
            }
        }
    }

    /**
     * return display area by source
     * @param source String, the source of album
     * @return String, reurn null if have erros
     */
    public static String getAreaMap(String source) {
        if(null == Mappings.DISPLAY_AREA_MAP) {
            return null;
        }
        if(StringUtils.isBlank(source)) {
            return Mappings.DISPLAY_AREA_MAP.get("default");
        }
        String result = null;
        try {
            result = DISPLAY_AREA_MAP.get(source);
            if (StringUtils.isBlank(result)) {
                return DISPLAY_AREA_MAP.get("default");
            }
        } catch(Exception e) {
            result = null;
        }
        return result;
    }
}